package Game;

/**
 * 角色类
 */
public abstract class Role {
    private int number;//出拳类型
    private int score;//得分

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
    //出拳方法
    public abstract void punch();

}
